package cn.hl.sfzy.service;


import cn.hl.sfzy.entity.Systemuser;
import cn.hl.sfzy.entity.User;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @ClassName UserService
 * @Description TOOO
 * @Author Lilysi
 * @Date 2024//10//24//11:43
 * @Version 1.0
 */
public interface UserService {
    int delete(Long id);
    int update(User user);
    int insert(User user);
    User getUser(User user);
    PageInfo<User> findByPage(int pageNum, int pageSize,User user);
    List<User> findAll();
    User selectById(Long id);
    List<User> findAll(User user);

}
